#include <iostream>
using namespace std;
int main()
{
    int b1 = 8/3;
    int b2 = (9 + b1)/3;    
    int b3 = (b1 + b2 + 10)/3;
    b1 = b1 + b2;
    b1 = b1 + b3;
    b2 = b2 + b3;
    cout << b1 << " " << b2 << " "<< b3;
}